using Avalonia.Controls;
using Avalonia.Interactivity;

namespace GetStartedApp.Pages
{
    public partial class IndexPageView : UserControl
    {
        public IndexPageView()
        {
            InitializeComponent();
        }

        // 事件驱动打开弹框方案
        // private void FormDialog_OnClick(object? sender, RoutedEventArgs e)
        // {
        //     var dialog = new Dialogs.FormDialogWindow();
        //     dialog.ShowDialog((Window)this.VisualRoot);
        // }

        private void Button_OnClick(object? sender, RoutedEventArgs e)
        {
            // NotificationManager.Show(new NotificationViewModel(NotificationManager)
            //                          {
            //                              Title = "Hey There!",
            //                              Message = "Did you know that Avalonia now supports Custom In-Window Notifications?"
            //                          });
        }
    }
}